package com.fly.server.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

/**
 * @ClassName ServerConfig
 * @Description TODO
 * @Author Fly
 * @Version
 * @Date 2020/1/7 13:31
 */
@Configuration
public class ServerConfig {

    @Bean
    public BCryptPasswordEncoder passwordEncoder(){
        return new BCryptPasswordEncoder();
    }
}
